package cn.kgc.emp.vo;

import java.io.Serializable;

public class EmpQuery implements Serializable{
	private static final long serialVersionUID = 1L;
	private Integer pageNo;
	private Integer pageSize;
	private String name;
	
	private Integer start;
	public Integer getStart() {
		return (pageNo-1)*pageSize;
	}
	
	public Integer getPageNo() {
		return pageNo;
	}
	public void setPageNo(Integer pageNo) {
		this.pageNo = pageNo;
	}
	public Integer getPageSize() {
		return pageSize;
	}
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	@Override
	public String toString() {
		return "EmpQuery [pageNo=" + pageNo + ", pageSize=" + pageSize + ", name=" + name + ", getPageNo()="
				+ getPageNo() + ", getPageSize()=" + getPageSize() + ", getName()=" + getName() + ", getClass()="
				+ getClass() + ", hashCode()=" + hashCode() + ", toString()=" + super.toString() + "]";
	}
	
	
}
